package com.SouthernWall_404.age_tool.common.world.block.RedStoneComponent.GateBlock;

import net.minecraft.core.BlockPos;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState;

public class XORGateBlock extends AbstractLogicGateBlock {
    public XORGateBlock(Properties properties) {
        super(properties);
    }

//    @Override
    int getLogicalOutput(int a, int b) {

        boolean ain=a>0?true:false;
        boolean bin=b>0?true:false;
        return ain!=bin? 15 : 0;
    }
    @Override
    public int getOutput(Level level, BlockPos blockPos, BlockState blockState) {
        return super.getOutput(level, blockPos, blockState);
    }
}